﻿using Entidades.Calculado;
using FluentNHibernate.Mapping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Persistencia.Mappings.Calculado
{
    public class TotalRecordsMap : ClassMap<TotalRecords>
    {
        /// <summary>
        /// Constructor por defecto
        /// </summary>
        public TotalRecordsMap()
        {
            Id(x => x.Id).Column("Id");
            Map(x => x.Nombre).Column("Description");
            Map(x => x.Count).Column("Total");
            Map(x => x.Sum).Column("Sum");
        }
    }
}
